package com.cmc.cloud.cmclink.doc.convert;

import java.util.*;

import com.cmc.cloud.cmclink.doc.vo.arrivalnoticeprintsetupvo.ArrivalnoticePrintSetupCreateReqVO;
import com.cmc.cloud.cmclink.doc.vo.arrivalnoticeprintsetupvo.ArrivalnoticePrintSetupRespVO;
import com.cmc.cloud.cmclink.doc.vo.arrivalnoticeprintsetupvo.ArrivalnoticePrintSetupUpdateReqVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.cmc.cloud.cmclink.doc.entity.ArrivalnoticePrintSetupDO;

/**
 * Arrival Notice 打印配置 Convert
 *
 * @author 集运管理员
 */
@Mapper
public interface ArrivalnoticePrintSetupConvert {
    /**
     * 获取转换接口的实例
     */
    ArrivalnoticePrintSetupConvert INSTANCE = Mappers.getMapper(ArrivalnoticePrintSetupConvert.class);

	/**
     * 将创建请求VO转换为DO
     *
     * @param bean 创建请求VO
     * @return DO
     */
    ArrivalnoticePrintSetupDO convert(ArrivalnoticePrintSetupCreateReqVO bean);

	/**
     * 将更新请求VO转换为DO
     *
     * @param bean 更新请求VO
     * @return DO
     */
    ArrivalnoticePrintSetupDO convert(ArrivalnoticePrintSetupUpdateReqVO bean);

	/**
     * 将DO转换为查询响应VO
     *
     * @param bean DO
     * @return VO
     */
    ArrivalnoticePrintSetupRespVO convert(ArrivalnoticePrintSetupDO bean);

	/**
     * 将DO列表转换为查询响应VO列表
     *
     * @param list DO列表
     * @return VO List
     */
    List<ArrivalnoticePrintSetupRespVO> convertList(List<ArrivalnoticePrintSetupDO> list);

}
